home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
mawk10.zip
/
PARSE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-10-05
|
2KB
|
88 lines
#define UNEXPECTED 257
#define BAD_DECIMAL 258
#define NL 259
#define SEMI_COLON 260
#define LBRACE 261
#define RBRACE 262
#define LBOX 263
#define RBOX 264
#define COMMA 265
#define IO_OUT 266
#define P_OR 267
#define P_AND 268
#define ASSIGN 269
#define ADD_ASG 270
#define SUB_ASG 271
#define MUL_ASG 272
#define DIV_ASG 273
#define MOD_ASG 274
#define POW_ASG 275
#define QMARK 276
#define COLON 277
#define OR 278
#define AND 279
#define IN 280
#define MATCH 281
#define NOT_MATCH 282
#define EQ 283
#define NEQ 284
#define LT 285
#define LTE 286
#define GT 287
#define GTE 288
#define CAT 289
#define GETLINE 290
#define PLUS 291
#define MINUS 292
#define MUL 293
#define DIV 294
#define MOD 295
#define NOT 296
#define UMINUS 297
#define IO_IN 298
#define PIPE 299
#define POW 300
#define INC_or_DEC 301
#define DOLLAR 302
#define FIELD 303
#define LPAREN 304
#define RPAREN 305
#define CONSTANT 306
#define RE 307
#define ID 308
#define FUNCT_ID 309
#define BUILTIN 310
#define PRINT 311
#define PRINTF 312
#define SPLIT 313
#define MATCH_FUNC 314
#define SUB 315
#define GSUB 316
#define LENGTH 317
#define DO 318
#define WHILE 319
#define FOR 320
#define BREAK 321
#define CONTINUE 322
#define IF 323
#define ELSE 324
#define DELETE 325
#define BEGIN 326
#define END 327
#define EXIT 328
#define NEXT 329
#define RETURN 330
#define FUNCTION 331
typedef union{
CELL *cp ;
SYMTAB *stp ;
INST *start ; /* code starting address */
PF_CP fp ; /* ptr to a (print/printf) or (sub/gsub) function */
BI_REC *bip ; /* ptr to info about a builtin */
FBLOCK *fbp ; /* ptr to a function block */
ARG2_REC *arg2p ;
CA_REC *ca_p ;
int ival ;
} YYSTYPE;
extern YYSTYPE yylval;